#ifndef _CLABELBOX_H_
#define _CLABELBOX_H_

#include <buola/widgets/cwidget.h>

namespace buola { namespace gui {

class CLabelBox : public CWidget
{
public:
    CLabelBox(const std::wstring &pCaption=std::wstring());
    virtual ~CLabelBox();

    //! sets the caption to display for the box
    void SetCaption(const std::wstring &pCaption);
    
    //! returns the caption to display for the box
    const std::wstring &GetCaption()    {   return mCaption;    }
    
////////////// Event handling //////////////
    virtual void OnExpose(const CExposeEvent &pE);
    virtual void OnStyleChanged(TStyle);

public:
////////////////// interface //////////////////////

protected:
////////////// protected functions ////////////////

/////////////////// data //////////////////////
    std::wstring mCaption;
};

/*namespace gui*/ } /*namespace buola*/ }

#endif
